package com.ruoyi.oa.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 请假申请对象 oa_human_leave
 *
 * @author ruoyi
 * @date 2023-08-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("oa_human_leave")
public class OaHumanLeave extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private String id;
    /**
     * 部门id
     */
    private Long deptId;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 请假类型
     */
    private String leaveType;
    /**
     * 开始时间
     */
    private Date startDate;
    /**
     * 结束时间
     */
    private Date endDate;

    /**
     * 请假时长
     */
    private String leaveCount;
    /**
     * 请假事由
     */
    private String leaveReason;
    /**
     * 附件
     */
    private String attachment;

}
